/**
* @file        log4cplus_impl
* @brief       
* @version     1.0.0
* @author      Changlin.Jing 
* @date        2023/7/27 13:46
* @copyright   Copyright  2022 Langge Software Co., Ltd. All rights reserved.
*/
#ifndef LANGGE_VDR_LOG4CPLUS_IMPL_HPP
#define LANGGE_VDR_LOG4CPLUS_IMPL_HPP

#include "vdr_logs.h"
BEGIN_SPACE_LANGE_VDR
class Log4cplusImpl :public VdrLogs{
public:
    int Init(const char *logId, const char *logDir,const char *logFileId,const bool isSyncTerminal) override;
//    int Init(const char *logFilePath) override;
    int WriteLog(const char *logId, const int logLevel,const char *file, const int line, const char *func,const char *content) override;
    int WriteFormatLog(const char *logId, const int logLevel,
                       const char *file, const int line, const char *func,
                       const char *format, ...) override;
};
END_SPACE_LANGE_VDR

#endif //LANGGE_VDR_LOG4CPLUS_IMPL_HPP
